package com.example.innovate.domain;

import java.util.ArrayList;
import java.util.List;

public class JobExamineDOExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public JobExamineDOExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andExExamineIdIsNull() {
            addCriterion("ex_examine_id is null");
            return (Criteria) this;
        }

        public Criteria andExExamineIdIsNotNull() {
            addCriterion("ex_examine_id is not null");
            return (Criteria) this;
        }

        public Criteria andExExamineIdEqualTo(Integer value) {
            addCriterion("ex_examine_id =", value, "exExamineId");
            return (Criteria) this;
        }

        public Criteria andExExamineIdNotEqualTo(Integer value) {
            addCriterion("ex_examine_id <>", value, "exExamineId");
            return (Criteria) this;
        }

        public Criteria andExExamineIdGreaterThan(Integer value) {
            addCriterion("ex_examine_id >", value, "exExamineId");
            return (Criteria) this;
        }

        public Criteria andExExamineIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ex_examine_id >=", value, "exExamineId");
            return (Criteria) this;
        }

        public Criteria andExExamineIdLessThan(Integer value) {
            addCriterion("ex_examine_id <", value, "exExamineId");
            return (Criteria) this;
        }

        public Criteria andExExamineIdLessThanOrEqualTo(Integer value) {
            addCriterion("ex_examine_id <=", value, "exExamineId");
            return (Criteria) this;
        }

        public Criteria andExExamineIdIn(List<Integer> values) {
            addCriterion("ex_examine_id in", values, "exExamineId");
            return (Criteria) this;
        }

        public Criteria andExExamineIdNotIn(List<Integer> values) {
            addCriterion("ex_examine_id not in", values, "exExamineId");
            return (Criteria) this;
        }

        public Criteria andExExamineIdBetween(Integer value1, Integer value2) {
            addCriterion("ex_examine_id between", value1, value2, "exExamineId");
            return (Criteria) this;
        }

        public Criteria andExExamineIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ex_examine_id not between", value1, value2, "exExamineId");
            return (Criteria) this;
        }

        public Criteria andExWantedIdIsNull() {
            addCriterion("ex_wanted_id is null");
            return (Criteria) this;
        }

        public Criteria andExWantedIdIsNotNull() {
            addCriterion("ex_wanted_id is not null");
            return (Criteria) this;
        }

        public Criteria andExWantedIdEqualTo(Integer value) {
            addCriterion("ex_wanted_id =", value, "exWantedId");
            return (Criteria) this;
        }

        public Criteria andExWantedIdNotEqualTo(Integer value) {
            addCriterion("ex_wanted_id <>", value, "exWantedId");
            return (Criteria) this;
        }

        public Criteria andExWantedIdGreaterThan(Integer value) {
            addCriterion("ex_wanted_id >", value, "exWantedId");
            return (Criteria) this;
        }

        public Criteria andExWantedIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ex_wanted_id >=", value, "exWantedId");
            return (Criteria) this;
        }

        public Criteria andExWantedIdLessThan(Integer value) {
            addCriterion("ex_wanted_id <", value, "exWantedId");
            return (Criteria) this;
        }

        public Criteria andExWantedIdLessThanOrEqualTo(Integer value) {
            addCriterion("ex_wanted_id <=", value, "exWantedId");
            return (Criteria) this;
        }

        public Criteria andExWantedIdIn(List<Integer> values) {
            addCriterion("ex_wanted_id in", values, "exWantedId");
            return (Criteria) this;
        }

        public Criteria andExWantedIdNotIn(List<Integer> values) {
            addCriterion("ex_wanted_id not in", values, "exWantedId");
            return (Criteria) this;
        }

        public Criteria andExWantedIdBetween(Integer value1, Integer value2) {
            addCriterion("ex_wanted_id between", value1, value2, "exWantedId");
            return (Criteria) this;
        }

        public Criteria andExWantedIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ex_wanted_id not between", value1, value2, "exWantedId");
            return (Criteria) this;
        }

        public Criteria andExStateIsNull() {
            addCriterion("ex_state is null");
            return (Criteria) this;
        }

        public Criteria andExStateIsNotNull() {
            addCriterion("ex_state is not null");
            return (Criteria) this;
        }

        public Criteria andExStateEqualTo(String value) {
            addCriterion("ex_state =", value, "exState");
            return (Criteria) this;
        }

        public Criteria andExStateNotEqualTo(String value) {
            addCriterion("ex_state <>", value, "exState");
            return (Criteria) this;
        }

        public Criteria andExStateGreaterThan(String value) {
            addCriterion("ex_state >", value, "exState");
            return (Criteria) this;
        }

        public Criteria andExStateGreaterThanOrEqualTo(String value) {
            addCriterion("ex_state >=", value, "exState");
            return (Criteria) this;
        }

        public Criteria andExStateLessThan(String value) {
            addCriterion("ex_state <", value, "exState");
            return (Criteria) this;
        }

        public Criteria andExStateLessThanOrEqualTo(String value) {
            addCriterion("ex_state <=", value, "exState");
            return (Criteria) this;
        }

        public Criteria andExStateLike(String value) {
            addCriterion("ex_state like", value, "exState");
            return (Criteria) this;
        }

        public Criteria andExStateNotLike(String value) {
            addCriterion("ex_state not like", value, "exState");
            return (Criteria) this;
        }

        public Criteria andExStateIn(List<String> values) {
            addCriterion("ex_state in", values, "exState");
            return (Criteria) this;
        }

        public Criteria andExStateNotIn(List<String> values) {
            addCriterion("ex_state not in", values, "exState");
            return (Criteria) this;
        }

        public Criteria andExStateBetween(String value1, String value2) {
            addCriterion("ex_state between", value1, value2, "exState");
            return (Criteria) this;
        }

        public Criteria andExStateNotBetween(String value1, String value2) {
            addCriterion("ex_state not between", value1, value2, "exState");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeIsNull() {
            addCriterion("ex_interview_time is null");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeIsNotNull() {
            addCriterion("ex_interview_time is not null");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeEqualTo(String value) {
            addCriterion("ex_interview_time =", value, "exInterviewTime");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeNotEqualTo(String value) {
            addCriterion("ex_interview_time <>", value, "exInterviewTime");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeGreaterThan(String value) {
            addCriterion("ex_interview_time >", value, "exInterviewTime");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeGreaterThanOrEqualTo(String value) {
            addCriterion("ex_interview_time >=", value, "exInterviewTime");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeLessThan(String value) {
            addCriterion("ex_interview_time <", value, "exInterviewTime");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeLessThanOrEqualTo(String value) {
            addCriterion("ex_interview_time <=", value, "exInterviewTime");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeLike(String value) {
            addCriterion("ex_interview_time like", value, "exInterviewTime");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeNotLike(String value) {
            addCriterion("ex_interview_time not like", value, "exInterviewTime");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeIn(List<String> values) {
            addCriterion("ex_interview_time in", values, "exInterviewTime");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeNotIn(List<String> values) {
            addCriterion("ex_interview_time not in", values, "exInterviewTime");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeBetween(String value1, String value2) {
            addCriterion("ex_interview_time between", value1, value2, "exInterviewTime");
            return (Criteria) this;
        }

        public Criteria andExInterviewTimeNotBetween(String value1, String value2) {
            addCriterion("ex_interview_time not between", value1, value2, "exInterviewTime");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressIsNull() {
            addCriterion("ex_interview_address is null");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressIsNotNull() {
            addCriterion("ex_interview_address is not null");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressEqualTo(String value) {
            addCriterion("ex_interview_address =", value, "exInterviewAddress");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressNotEqualTo(String value) {
            addCriterion("ex_interview_address <>", value, "exInterviewAddress");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressGreaterThan(String value) {
            addCriterion("ex_interview_address >", value, "exInterviewAddress");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressGreaterThanOrEqualTo(String value) {
            addCriterion("ex_interview_address >=", value, "exInterviewAddress");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressLessThan(String value) {
            addCriterion("ex_interview_address <", value, "exInterviewAddress");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressLessThanOrEqualTo(String value) {
            addCriterion("ex_interview_address <=", value, "exInterviewAddress");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressLike(String value) {
            addCriterion("ex_interview_address like", value, "exInterviewAddress");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressNotLike(String value) {
            addCriterion("ex_interview_address not like", value, "exInterviewAddress");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressIn(List<String> values) {
            addCriterion("ex_interview_address in", values, "exInterviewAddress");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressNotIn(List<String> values) {
            addCriterion("ex_interview_address not in", values, "exInterviewAddress");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressBetween(String value1, String value2) {
            addCriterion("ex_interview_address between", value1, value2, "exInterviewAddress");
            return (Criteria) this;
        }

        public Criteria andExInterviewAddressNotBetween(String value1, String value2) {
            addCriterion("ex_interview_address not between", value1, value2, "exInterviewAddress");
            return (Criteria) this;
        }

        public Criteria andExRemarkIsNull() {
            addCriterion("ex_remark is null");
            return (Criteria) this;
        }

        public Criteria andExRemarkIsNotNull() {
            addCriterion("ex_remark is not null");
            return (Criteria) this;
        }

        public Criteria andExRemarkEqualTo(String value) {
            addCriterion("ex_remark =", value, "exRemark");
            return (Criteria) this;
        }

        public Criteria andExRemarkNotEqualTo(String value) {
            addCriterion("ex_remark <>", value, "exRemark");
            return (Criteria) this;
        }

        public Criteria andExRemarkGreaterThan(String value) {
            addCriterion("ex_remark >", value, "exRemark");
            return (Criteria) this;
        }

        public Criteria andExRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("ex_remark >=", value, "exRemark");
            return (Criteria) this;
        }

        public Criteria andExRemarkLessThan(String value) {
            addCriterion("ex_remark <", value, "exRemark");
            return (Criteria) this;
        }

        public Criteria andExRemarkLessThanOrEqualTo(String value) {
            addCriterion("ex_remark <=", value, "exRemark");
            return (Criteria) this;
        }

        public Criteria andExRemarkLike(String value) {
            addCriterion("ex_remark like", value, "exRemark");
            return (Criteria) this;
        }

        public Criteria andExRemarkNotLike(String value) {
            addCriterion("ex_remark not like", value, "exRemark");
            return (Criteria) this;
        }

        public Criteria andExRemarkIn(List<String> values) {
            addCriterion("ex_remark in", values, "exRemark");
            return (Criteria) this;
        }

        public Criteria andExRemarkNotIn(List<String> values) {
            addCriterion("ex_remark not in", values, "exRemark");
            return (Criteria) this;
        }

        public Criteria andExRemarkBetween(String value1, String value2) {
            addCriterion("ex_remark between", value1, value2, "exRemark");
            return (Criteria) this;
        }

        public Criteria andExRemarkNotBetween(String value1, String value2) {
            addCriterion("ex_remark not between", value1, value2, "exRemark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}